package com.settlement.system.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.settlement.system.common.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
* <p>
* 部门表
* </p>
*
* @author huangrensen
* @since 2023-10-12
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysImportLog extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * 主键
    */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    // 店铺ID、店铺账号ID
    private Long storeAccountId;

    /**
    * 结算日期
    */
    private String settlementDate;

    /**
    * 总数
    */
    private Integer totalCount = 0;

    /**
    * 成功条数
    */
    private Integer importCount = 0;

    /**
    * 失败条数
    */
    private Integer errorCount = 0;

    /**
    * 备注
    */
    private String remark;

    /**
     * 平台名称
     */
    @TableField(exist = false)
    private String platformName;

    /**
     * 店铺名称
     */
    @TableField(exist = false)
    private String storeName;

    /**
     * 登录账号
     */
    @TableField(exist = false)
    private String userName;
}
